Author: Alexander Kokoshyn
Posted: 12/8/2005 5:19:00 PM
The information below will be useful for you in case you need to generate a detailed report which contains the following information:
-
Detail report listing the item, the date it was created and the author.
-
Summary report listing the authors and the total number of new items they created.
-
Detail report listing the item, the date it was edited and the author.
-
Etc.
To generate such a report programmatically, you should parse the audit file. The audit entries are stored in the data/audit/audit.* files in the following format:
<audit action="saveitem" timestamp="20051206T104359" session="pisqeh45fofn2xvfb1jpot55">
<user><![CDATA[sitecore\Admin]]></user>
<itemid><![CDATA[{39D10C47-4D0B-47F3-BD55-C06EBFE10699}]]></itemid>
<itempath><![CDATA[/sitecore/templates/Document/Data/My Checklist]]></itempath>
<itemname><![CDATA[My Checklist]]></itemname>
</audit>
Below is the list of entry values you could use for your report.
IMPORTANT NOTE: the list is not full and may be different in the current version of Sitecore.
-
buildpackage
-
savepackage
-
saveitem
-
Logged in
-
verifypassword
-
loginerror
-
approveitems
-
compactdatabase
-
emptyrecyclebin
-
endpreview
-
endwebedit
-
insertitemtreexml
-
publish
-
publishitem
-
reloaddatabase
-
savedatabase
-
startpreview
-
startwebedit
-
updatesortorder
-
updatesortorder
-
ResortChildren
-
loadlayout
-
loadxslfile
-
newlayout
Prev Next